﻿using DanielVaughan.Windows;

namespace CalciumTemplateApp
{
	/// <summary>
	/// This class allows you to bind to localized resources in XAML.
	/// </summary>
	public class BindableResources
	{
		static readonly BindableChangeNotifier<MainResources> resources
			= new BindableChangeNotifier<MainResources>(new MainResources());

		public static BindableChangeNotifier<MainResources> Resources
		{
			get
			{
				return resources;
			}
		}

		public static void RaiseNotifyPropertyChanged()
		{
			resources.RaisePropertyChanged();
		}
	}
}
